package edu.hawaii.ics314.ical.view;

public class InputView extends AbstractView<String> {
	
	private final String MESSAGE;
	
	public InputView(String message) {
		MESSAGE = (message == null ? "" : message);
	}
	
	@Override
	public void show() {
		System.out.print(MESSAGE);
		String result = readStdinLine();
		fireOnViewResult(result, 0);
	}

}
